package com.atguigu.tingshu.album.service;

import com.atguigu.tingshu.model.album.TrackInfo;
import com.atguigu.tingshu.query.album.TrackInfoQuery;
import com.atguigu.tingshu.vo.album.AlbumTrackListVo;
import com.atguigu.tingshu.vo.album.TrackInfoVo;
import com.atguigu.tingshu.vo.album.TrackListVo;
import com.atguigu.tingshu.vo.album.TrackStatVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface TrackInfoService extends IService<TrackInfo> {


    void saveTrackInfo(TrackInfoVo trackInfoVo);

    Page<TrackListVo> findUserTrackPage(Page<TrackListVo> page1, TrackInfoQuery trackInfoQuery);

    void updateTrackInfo(Long trackId, TrackInfoVo trackInfoVo);

    void removeTrackInfo(Long trackId);

    Page<AlbumTrackListVo> findAlbumTrackPage(Page<AlbumTrackListVo> pageL, Long albumId);

    TrackStatVo getTrackStatVo(Long trackId);
}
